Add boost C++ implementation.
Fix GO implementation (thanks to @thenikso)