Finished problem 5 and cleaned up the document.