public void readFile(String fileName) {
		try {
			String tmpStr = "", x = "", y = "";
			BufferedReader buf = new BufferedReader(new FileReader(fileName));
			this.mazeSize = buf.readLine(); // Reads first line to obtain maze size
			while((tmpStr = buf.readLine()) != null) {
				// Remove whitespace and brackets
				tmpStr = tmpStr.trim();
				tmpStr = tmpStr.replace("(", "");
				tmpStr = tmpStr.replace(")", "");
				StringTokenizer token = new StringTokenizer(tmpStr, ", ");
				if(token.hasMoreTokens()) {
					x = token.nextToken();
				}
				if(token.hasMoreTokens()) {
					y = token.nextToken();
				}
				wallList.add(new Node(Integer.parseInt(x), Integer.parseInt(y)));
			}
		} catch(Exception e) {
			System.out.println("There was an error reading the file.");
            e.printStackTrace();
		}
	}