modified SolarSystem.java and added Planet.java