C++ functions for encoding DNA to ASCII and back per Anders Sandberg's proposal