Improved R script, added support for filenames, began adding support for parameters.
Added a data file and a folder labeled "data".