class Partition {

    @Override
    public boolean equals(Object o) {

        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        Partition partition = (Partition) o;

        return cells != null ? cells.equals(partition.cells) : partition.cells == null;

    }

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

}