HW6 (Emilijus Grasys)

What if the call to the private version of next returns NULL? This will crash.