Write a method called reverse that accepts a String parameter and returns a string that contains the characters of the parameter in reverse order. Note: there is a method in the String class that performs this operation, but for the sake of this exercise, you are expected to write your own.