fix snake_append_body bug

append new node should add from head, not from tail. Add snake_print
for visual check, add testcase