Add the is_incomplete method.
Got rid of a global lexical variable.
Made m1 not global.
Moved puzzles to the main program.
Convert to a method.