The Great Wall of China is 13,170 miles long. What was the purpose of building it?