Adding some language to help the reader understand the code.
Final redo of homework.