Write a function that is passed a string and returns the reverse of that string.
You must use a loop.
For example:
reverseString("mitchell")
"llehctim"
reverseString("tacocat")
"tacocat"
©2017 Graham Mitchell