Path Tracer written in C