You’ve decided to create the game Snake. To do that the first task you decide to tackle is to fill the whole
field with a snake - that would be the maximum possible score in the game.
Given two integers
w, your program should print the field filled with the path of the snake.
Time limit: 1 seconds
Memory limit: 512 MB
Output limit: 1 MB