public void keyPressed(KeyEvent e) {
		// stage 5
		if (e.getKeyChar() == 'N' || e.getKeyChar() == 'n')
			reset();

		// stage 10
		if (e.getKeyChar() == 's' || e.getKeyChar() == 'S')
			writeToFile();

		// stage 11
		if (e.getKeyChar() == 'l' || e.getKeyChar() == 'L')
			loadFromFile();
		repaint();
	}