Legged Locomotion in Challenging Terrains using Egocentric Vision