Adding submission for chapter 7 homework