adding interface for reverseString function

here is the stuff for the new reverseString function and on a new branch
added implementation for reverseText
Merge branch 'reverse-string' into gh-pages