String reversal function
Implement quicksort and strings conversions