HW 4 For Loop verified correct operation. HW4 complete