modified SolarSystem.java