public MazeMaker() {
		try {
			newMap = JOptionPane.showConfirmDialog(null, "Do you want to create a new map?", "New Map", JOptionPane.YES_NO_OPTION);
		} catch(Exception e) {
			System.exit(0);
		}
		
		if(newMap == JOptionPane.YES_OPTION) {
			try {
				borderedMap = JOptionPane.showConfirmDialog(null, "Do you want the new map to have a wall border?", "Border Map", JOptionPane.YES_NO_OPTION);
			} catch(Exception e) {
				System.exit(0);
			}
			if(borderedMap == JOptionPane.YES_OPTION) {
				border = true;
			} 
			sizeChecker();
			chooser();
			Map.newMap();
		} else {
			sizeChecker();
			chooser();
		}
		JFrame frame = new JFrame();
		JPanel panel = new JPanel();
		frame.setTitle("Maze Maker");
		panel.setLayout(new BoxLayout(panel, BoxLayout.X_AXIS));
		
		panel.add(new Board());
		panel.add(new ControlsPanel());

		frame.setResizable(false);
		frame.add(panel);
		frame.pack();
		frame.setLocationRelativeTo(null);
		frame.setVisible(true);
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
	}