implemented light
implemented the renderer.trace and renderer.shade functions