private void reverse(char []str, int low, int high){
        while(low<high){
            swap(str,low,high);
            low++;
            high--;
        }
    }
http://www.geeksforgeeks.org/an-in-place-algorithm-for-string-transformation/
src/com/interview/string/InPlaceTransformationOfString.java