AT&T Interview Question

Write a method that reverses a string