Minimax

Nim game using minimax algorithm on adversarial search tree