Actually, the program is not ray tracer, but a path tracer instead. That's why the image quality is noisy at first, but improves as the number of render passes grows.

Thanks for the heads up though.