added ex6, works with -gray
Merge branch 'master' of https://github.com/adrelino/cuda_ss14