Finished HW5, along with the first of the extracredit problems.