Add a code snippet to doc homepage

Closes #62
Merge pull request #76 from ChrisBeaumont/getting-started

Documentation front page improvements