CSC 561 Ray casting assignment