snake work

game loop setup