Google Interview Question

Write a tool/function for reversing a string