HW 3 and 6 done