Assignment 1 Ray Tracing Solution