initial commit of BayesianBlocks in c++