Updated WordSearch so that it creates a matrix of the characters that are to be inspected.