On-Policy Temporal Difference Learning for Action-Value Estimation - Coding problem | OneNoughtOne