Tweak homepage

Adds an implementation for the example on the homepage and tweaks the code styling.
![screen shot 2014-10-09 at 21 44 54](https://cloud.githubusercontent.com/assets/162976/4574992/fff46948-4fa1-11e4-857e-40bfc2cdfe7d.png)
![screen shot 2014-10-09 at 21 46 43](https://cloud.githubusercontent.com/assets/162976/4574993/034ab156-4fa2-11e4-8914-5b8828ae6cf3.png)


Agree with sam, parens please.