hw2problem2,3,4solved