done with the tree. I don't really see how to plot error against complexity for problem 5 since the tree degenerates (always decides for label 1) in case of fewer nodes