Let's code a self-solving game of snake