Exoplanet creation and simulation using mass-density and composition relations