check and checkmate fully implemented!!!