Copy play_env_problem_with_policy from tensor2tensor to Trax for future tweaking.
Copy play_env_problem_with_policy from tensor2tensor to Trax for future tweaking.

PiperOrigin-RevId: 294479249

google/trax,google/trax