Solutions for the introduction to statistical learning