added answers for hw4