Added titles to example.php
Refactored result printing a bit
Updated README