Practice Activity 2 simplified Nim (Monte Carlo solver)