Update example to functional code, changed indents

I'm guessing the marker code is less used, as there's quite some inconsistency in the code / examples. Making this example functional.
Merge pull request #36 from dbolser-ebi/patch-4

Update example to functional code, changed indents