circle intersecting code and code to test everything start to finish