Merge pull request #129 from simoncozens/docs

First two chapters. More to follow.