adding movement of the snake