A simple raytracer in C++ (hw for BerkeleyX Computer Graphics)