Quadrupedal Locomotion: An Introduction to the Control of Four-legged Robots