Added string reverse function.