reverse a string in c challenge