Attempted to create an actual class to replace the pseudocode.  All
pseudocode has been changed to commented sections.