Update snake.c

Edited add_body_part so that it uses a general function for creating body_part's