How Random Forest Algorithm Works