Add examples

This simple patch takes your example code from the readme and adds it to a new 'examples/example.php' in order to simplify testing this library.