ProblemSet4_solutions_Fall_2022.R