Shell Script To Reverse A String Using While Loop