Extend

The second feature that we need is to make a function which can extend the snake. Note that the extend function only makes the snake one square longer, in a next exercise we will cut the tail of the snake. Finally, keep in mind that the head of the snake is at the front of the list.