The Spacing of Planets: The Solution to a 400-Year Mystery