Create master.R

This is the final code submitted to Laceep.