add example to readme.

simple example that can be copy pasted for quickly getting started with mqtt.