getChild() helper function

Made new PR as I'm just using the web editor and cba pulling and pushing a rebase just for 1 function :P
Merge pull request #28 from Weeblewonder/patch-1

getChild() helper function