ProblemSet2_solutions_Spring2023.R