toString method changed to __toString
Merge pull request #2 from anyt/master

toString method changed to magic method __toString