Finished HW10A.