public void createMaze(String filePath) {
        try {
            reader = new BufferedReader(new FileReader(filePath));
            int i = 0;
            while ((line = reader.readLine()) != null) {
                parts = line.split("\\s");
                for (int j = 0; j < MicromouseRun.BOARD_MAX; j++) {
                    mazeMap[i][j] = Integer.parseInt(parts[j].trim(), RAD);
                }
                i++;
            }
        } catch (FileNotFoundException e) {
            System.out.println("File not found. Try again.");
        } catch (IOException e) {
            System.out.println("Oh No! Read error :(");
        } catch (Exception e) {
            System.out.println("Some other error occurred...");
        }
    }