Fixed minor bug in PuzzleMaker.m