Problem 2
Solved some of 2, fixed typos from errata