Training doesnt throw errors when running on spam data set with a higher depth and higher number of trees. Right now it is doing t times more sorts than necessary. TODO: still go to mark the categories; get it to work when useCache is true; get classification to work; clean up code and make it do t times less sorts than necessary