Update snake.c 

Change base struct, use list.