moved all examples into a file called masterSample.R