PA2 of R programing course