added intersection struct
computing intersection of ray and sphere
determining closest intersection for ray