write a function mirror that reserves the characters of a string. to reverse a string, one approach is to swap the first and last elements,and then swap the second and the second last elements and so on.the process should stop when the middle of teh string is reached,
smple output:
enter a string:computer
mirror image of computer: retupmoc