Finished HW1 Programming