Memory-Based explainable reinforcement learning