Written my reverse-string program