How South Africa built one of the world's most advanced telescopes