Entropy-reducing Random Forest in C++