This is the second programming assignment for the course "R Programming"