REVERSING-A-STRING Here we Are reversIng a given string by the swapping method inside the array itself.It is an effecttve method of reverse an array or a strtng