Finished HW#7.