Next is the main loop. It starts off with the REPEAT command. This command along with the UNTIL command creates a loop until the specified equation is true. Next there is the CHK variable. this is used to check if the puzzle is solved. Then there is the first FOR command used to find the value of the coordinate. The Second FOR command is used to find the value of the number. Next-