added __toString() methods
Merge pull request #3 from janakaud/master

added __toString() methods