wrote brute force pair counter to check results from kdtree codes