Added HW3 part C