added solution to programming exercise on Bias-Variance tradeoff