Made AlphaBeta search more immutable