homework 3 Ray tracer