update course project p2.R: adding tuning parameter ntree and # of predictor