Add the replace operation

I've added the "replace" operation plus a test for it, and ran go fmt on the files.  Please let me know if there's anything else (or if you omitted replace intentionally!)