Include code example in readme (fixes #2)