Introduction - If you have any usage issues, please Google them yourself
Given the letter N* N matrix, starting from any point, up, down, left, right, match the prescribed direction of the continuous sequence of a given word. That is called the hit, or do not hit, the character matrix of letters can only be used once, can not stay in the same cell twice. Maximum characters 50* 50 matrix, are all capital letters. Input 1 is the letter matrix, enter the 2 letter sequence, the output match.