public void paint(Graphics g) {
		Graphics2D g2d = (Graphics2D)g;
		// Draw the maze
		for(Edge e: maze.grid){
			g2d.drawLine(e.c1.x, e.c1.y, e.c2.x, e.c2.y);
		}
		// Draw the borders
		if(maze.borders!=null){
			for(Edge e: maze.borders){
				g2d.drawLine(e.c1.x, e.c1.y, e.c2.x, e.c2.y);
			}
		}

	}