beginning snake game code