solutions for homework 3 fall 2013 1871512