Output function added.
Output function added.
Merge pull request #5 from melihucar/master

Output function added.
Minor tweaks to keep code formatting consistent
Added output example
Added a little warning
Updated example to use method chaining for better readability
Updated output example
Added $format argument