homework 1 solution