Decision Tree in C++