public boolean canMove(int direction) {
		if (direction == MOVE_LEFT) return (getFreeCellX() > 0);
		if (direction == MOVE_RIGHT) return (getFreeCellX() < 2);
		if (direction == MOVE_UP) return (getFreeCellY() > 0);
		if (direction == MOVE_DOWN) return (getFreeCellY() < 2);
		return false;
	}