Merge pull request #3 from ornicar/master

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