using recur to reverse a string@