Learning project, to test some optimizations in CUDA programming