The Indonesian archipelago has thousands of islands, atolls and the largest concentration of coral reefs in the world. How was it created?