Started and completed homework 6