Added board_is_unsolvable to AI.