Python code and solutions for "The Elements of Statistical Learning: Data Mining, Inference, and Prediction" Second Edition by Trevor Hastie, Robert Tibshirani, and Jerome Friedman