An pathtracer written in C++