Machine Learning exercise 8, all