C++ implementation of SUSI