Rough and ready implementation of the advanced level homework.