I am trying to write a function that reverses a string. The basic algorithm works but I\'m failing to affect the input parameter that is being passed when called, inside the