adding R functions
adding a README file
Update README.md
moving files to the right repository