C++11 implementation of a random forest