Random Forest algorithm, in Python