Practice raytracer in C++