Fix mistakes in R scipts, add R script for generating datasets, and add answer files for output tests