Problem Set 4 Solutions.R