update PartitionLinkedList.java