plan-building now functional (though not thoroughly tested) for minimax, but not A-B