Minimax optimizations

It is possible to skip some subtrees using alpha-beta pruning algorithm.