public void mousePressed(MouseEvent e) {
            Point p = e.getPoint();
            if (p.x >= BOUNDS.width) {
            	return;
            } else if (p.y >= BOUNDS.height) {
            	return;
            } else if (p.y < 0) {
            	return;
            } else if (p.x < 0) {
            	return;
            }
            int y = (roundTo10(p.y)/10) - 1;
            int x = (roundTo10(p.x)/10) - 1;
            if (graph.start == null) {
            	graph.rows.get(y).get(x).setStart(true);
            	graph.start = graph.rows.get(y).get(x);
            	System.out.println("Start set");
            	System.out.println("(" + x + ',' + y + ')');
            } else if (graph.dest == null) {
            	graph.rows.get(y).get(x).setDest(true);
            	graph.dest = graph.rows.get(y).get(x);
            	System.out.println("Dest set");
            	System.out.println("(" + x + ',' + y + ')');
            } else {
            	updateValues(p);
            }
            
            repaint();
        }