Update string_rev.cpp