HOMEWORK 2 { solutions