A Path tracer written in CUDA