fixed a bug

It would eventually cause the list "planets" to be filled with
duplicates if __eq__ is not overridden