added inCheck function and implemented it
Merge branch 'master' of github.com:Heavenrich/ChessNut