look for mate in N is player was losing before the opponent mistake
Merge pull request #4 from ornicar/master

look for mate in N is player was losing before the opponent mistake