Update student_func.cu
Merge from udacity and thread position check