public void keyPushed(char c){
		ArrayList<BoundingBox> boxes = gr.getItems();
		if(c == 'w'){
			for(BoundingBox b : boxes){
				b.setLocation(b.getX(), b.getY() - 10);
			}
		}
		if(c == 'a'){
			for(BoundingBox b : boxes){
				b.setLocation(b.getX() - 10, b.getY());
			}
		}
		if(c == 's'){
			for(BoundingBox b : boxes){
				b.setLocation(b.getX(), b.getY() + 10);
			}
		}
		if(c == 'd'){
			for(BoundingBox b : boxes){
				b.setLocation(b.getX() + 10, b.getY());
			}
		}
		if (c == 'x'){
			System.exit(0);
			System.out.println("Window was closed by user");
		}
	}