Evolution of Robot Leg Movements in a Physical Simulation