added a basic printing option too, to double-check our original encoding
Cleaned up the driver file into a few more files. Still some efficiency stuff to resolve, but I think the total program organization is getting solidified.
made it play nicely with g++, found some strange memory errors. Understand emplace better
a few quick notes
added maybe-excessive namespaces. Also made buffers smarter, but now they have substantively more state.