Add partition.java