First 3 functions of Task II. LearnWeakClassifier doesn't agree with debug check