Nim game with IA