Function to find the number of pairs of points such that the line passing through them has a slope in the range [ - k , k ]
static void findPairs ( int [ ] x , int [ ] y , int K ) { int n = x . Length ;