Pentomino puzzle solver