more or less completed the section about how to simulate galaxies