Added HW 3 Code