adding example as suggested by reviewer
adding example as suggested by reviewer
Merge pull request #3 from markwilkinson/master

final version of all code, now with example queries