added tostring method for planetwars