Added sample code that shows how to print the number of threads from within a program
Split code into functions
Merge branch 'master' of git@github.com:ugovaretto/opencl-training