Started homework 7. In the process of working on 2a