Identifying Palindromic Word Pairs from RandomWords.txt - Assignment Solution