Create Partition.java