My code for the Second Assignment of the Coursera Course: "R Programming"