Update reverse_string.cpp