ProblemSet1_solutions_Spring2022 (2).R