Answered hw3 ex3 part a