Problem Set 2 Solutions.R