HW5(Emilijus Grasys)

Oops, should be numItems, right?