Initial commit of minor_planets.py and supporting function