public boolean isAlive(Snake snake){
		ArrayList<Cell> body = (ArrayList<Cell>) snake.getSnakeBody();
		Cell head = body.get(0);
		for(int i = 0; i < body.size(); i++){
			Cell c = body.get(i);
			if(!inBounds(c) || (i != 0 && cellEquals(head, c)))return false;
		}
		return true;
	}