added toString for planet.java

wrote the toString method