@Override
		public void keyReleased(KeyEvent e) {
			// TODO Auto-generated method stub
			if (e.getKeyCode() == KeyEvent.VK_LEFT){
				//System.out.println("l");
				grid.sLeft();
			}
			if (e.getKeyCode() == KeyEvent.VK_RIGHT){
				grid.sRight();
			}
			if (e.getKeyCode() == KeyEvent.VK_UP) {
				grid.sUp();
				System.out.println(getSize());
			}
			if (e.getKeyCode() == KeyEvent.VK_DOWN){
				grid.sDown();
			}
			update();
		}