Added basic mate/stalemate checking. Not convinced it's working.
Added basic mate/stalemate checking. Not convinced it's working.