Implementation of basic minimax tree with no look ahead.