Cleaner example.php

Fixed up some formatting and gave more examples.