Implementation of Ray Tracer