Machine Learning exercise 6, all