The program must print out a trace of each position that it tries. For example, the following is a trace for a solution to the first maze above:
Considering <0,2>
Considering <-1,1>
Considering <1,1>
Considering <0,0>
Considering <2,0>
Considering <2,2>
Considering <1,1>
Considering <3,1>
Considering <2,0>
Considering <4,0>
Considering <4,2>
Considering <2,2>
Considering <3,3>
Considering <2,2>
Considering <4,2>
Considering <4,4>
Considering <3,3>
Considering <5,3>
Solved
**A***
*A****
**A***
* *A**
****A*
***A**