Implement a function `reverse_string` that takes a string as input and returns the reversed string. **Do not write a main() function; your code will be wrapped automatically.**
The function should reverse the order of characters.
Each character is reversed from its original position.