A pathtracer written in C