Corrected decision tree class str method