Problem Set 6 Solutions.R