Now parses an input file and calculates an adjacency matrix for the letters in each word in the puzzle.