Finished HW5 Q1