copy student_func.cu from HW1 from udacity account