code: public static void main(String[] args) {
      int width = 6;
      int height = 10;
      Pentomino model = new Pentomino(width, height);
      List splits = model.getSplits(2);
      for(Iterator splitItr=splits.iterator(); splitItr.hasNext(); ) {
        int[] choices = (int[]) splitItr.next();
        System.out.print("split:");
        for(int i=0; i < choices.length; ++i) {
          System.out.print(" " + choices[i]);
        }
        System.out.println();
        
        System.out.println(model.solve(choices) + " solutions found.");
      }
    }
docs: Solve the 6x10 pentomino puzzle.