Fixed some bugs. Split move functions in snake_func.c to a second file called move.c