first draft of adaboost - not tested yet!