Reinforcement learning via mouse-in-maze model