The Ming dynasty built a giant wall stretching 5,000 miles to keep invaders out of China, but how effective was it against the enemy?