LeetCode Solution, Easy, 344. Reverse String