class Partition {

    public Permutation setAsPermutation(int upTo) {
        int[] p = new int[upTo];
        for (int i = 0; i < upTo; i++) {
            p[i] = this.cells.get(i).first();
        }
        return new Permutation(p);
    }

    public  Partition();
    public  Partition(Partition other);
    public  Partition(int[][] cellData);

}