Added minimax value

Minimax value part added