Written answers for homework 2.