Ines Huertas commit R programming: Programming Assignment 2