r_prog_assignment_2