lab2_solution.R