Just Press the green flag. When the maze is done generating move the blue dot with the arrow keys.
It uses a simple maze generation algorithm known as "Recursive Backtracking" http://en.wikipedia.org/wiki/Maze_generation_algorithm