changed Board.getPieces() to return only specified color
implemented checkmate detection