Locomotion Generation for a Rat Robot based on Environmental Changes via Reinforcement Learning