part three. The final part. This is the circle intersect checking function.