Solutions to a Pentominos Puzzle

This program is a port (more or less) of a C++ program that finds all solutions to the well-known pentominos puzzle. This puzzle contains the 12 different arrangements of 5 connected squares, and the goal is to fit them all in a 6 x 10 rectangle.

In the process of porting the program I found that Sather iterators have a lot of slick possibilities; I might have been able to collapse the loops a little more if I study the code longer, but I don't have time.

The performance of the Sather version was a little worse than the C++ version (about 8%) but it was competitive.

-sheldon white- :^/
sheldon@amc.com