Homework Assignment 7

Working through developing extra credit function.