Finished question #5 and fixed a few minor typos