code for lecture about nvidia cuda