Added countingPairsOfLetters.
Added counting logic.
Added print statements.