public int[][] importdata(String filename) {
		File file;
		FileReader fr = null;
		BufferedReader br = null;
		int[][] data =new int[20][20];
		int lineNum = 0;
		
		try {
			file = new File(filename);
			fr = new FileReader(file);
			br = new BufferedReader(fr);
			
			while (br.readLine() != null) {
				String line;
				line = br.readLine();
				int colNum = 0;
				for (String each : line.split(" ")) {
					int num = Integer.parseInt(each);
					data[lineNum][colNum] = num;
					colNum++;
				}
				lineNum++;
			}
			br.close();
		} catch (Exception e) {e.printStackTrace();}
		return data;
	}