Codility - FInd the most times a pair happens