Complete countPairs function
Update README