Test function for degree of separation of 2 authors