Added format method to chain
Merge pull request #4 from lennym/master

Added format method to chain