Understanding the CartPole simulated environment