script to cross-validate random forests with varying number of trees