The Invention of the Compass