fixes for alphabeta; implement Board.isCheck()