added Planet.java and Planet.test -- compiles and runs tests