Added additional code related to functions

Summary: Went through Skip Wilsons second tutorial
https://www.youtube.com/watch?v=ioR12RPBY0k on functions and added some
additional code to demonstrate some additional functionality
By: Ross H
On: 16/6/14