SAMME.R implementation

Done.  /* In sklearn it was done inside, because they didn't know the number of classes before fitting an estimator. But we do;) */