Added R files and read me

Added all of the R files ready for submission and changed the read me
file to reflect the submitted files