Implementing Hastie and Tibshirani's Course in Python