Program now casts rays and intersects circles