Happiness of text

compare two text files and find happiness of text