Adding R scripts
second function complete
finished prog assignment 3
added all R scripts to repo