Update populatingNextRightPointers.java