Started and completed homework 2