Finished Homework code in the Master file up until end of HW2