path tracing implemented in D lang