make __str__ return string instead of printing
(#6)