First version

Functions for the course R Programming, Assessment 2