ray tracer code so far