First pass at solutions to Week 7 homework project.