Modified 'result' to 'res' to follow the example conventions used in the rest of the document

All of the other examples use 3/4 letter variables for the example code.  Updating this example to follow that loose convention.
Merge pull request #90 from james-gibson/patch-1

Modified 'result' to 'res' to follow the example conventions used in the...