Word Search

Find parts of a 2d grid matching a 2d word.

Input
	itemize
    One line containing the number of rows and columns in the search key,
           and  ().
     further lines, each containing  Latin characters comprising
          a row of the search key.
    One line containing the number of rows and columns in the haystack,
           and  (, ).
     further lines, each containing  Latin characters comprising
          a row of the search key.
	itemize

Output
  Illustrate the matching areas of the haystack by printing a grid of the same
  size. In locations that are part of at least one match, print the original
  character from the haystack. In other cases, print a full-stop "." character.
