Implemented random forest model