Finished all the exercises from Chapter 2 of the book.