Dan Blossom answers to homework 2