naive minmax working with a-b pruning... it's the slowest piece of shit ever