solving pentomino puzzle for 8x8 grid