add answers for homework 2