Two code samples

adding two code samples
Merge branch 'master' of https://github.com/rileypietsch/codesamples