the source code of snake