initialize the snake on the grid