Create PopulateNextPointer.java