A java code to count the overlap circles