second commit, fixed findPairs
Merge pull request #1 from madclare/working-maddie

second commit, fixed findPairs