hw4 only last problem was not solved