made Planet.setMass() return type void.