Added writeSummary method
bug: writeSummary was not a function
Merge pull request #5 from Benny-/master

writeSummary()