Demo code for learning cuda