Added getSnake() and setNewSnake() methods