Reverse String Using While Loop In Matlab