My code for the ray tracer challenge book