Improved the result code example #11

Starts to address the problems in #11 - still need o fix second code example
Merge pull request #15 from IATI/davidc

Improved the result code example #11