Updated planet.java

made more changes to planet.java