set toString() to output formatted output
Merge pull request #183 from mgcrea/master

set toString() to output formatted output