completed hw4, restructured the code per the solution set, and cleaned out previous homework set information