Added all code to mainFun.R
Merge branch 'master' of https://github.com/jeffreydarling/243group