Create partitionLinkedList.java