example program to test the random forest classifier.