Arrow keys E to show the picture. The green flag to start again and hide the picture. R hides the picture. You are the black dot that moves and you have to get to the x.
I borrowed AlSweigart's suggestion and used the maze generator. the URL is: http://www.mazegenerator.net/ Then I did the scripts for it as in the dot and the picture.