Read words from input, print and sort
find pairs for chars in a string