For a given string, this function extracts the first two alphabets. This function is further used by genMatrix
function.
genFirstPairs(s)
First two alphabets of the string input.
A string. This is the string from which the first two alphabets are to be extracted.