Basic snake game to practice JS