Submission for Programming Assignment 2

Updated Stub R script into full function methods