Cleaned up formatting etc.
Added chapter 3.