Made simple reversing string program