Added Javadoc and formatted Planet.java.