Fixed indentationError in the main.
Fixed output file name to conform the standard: use unix time as timestamp)
Moved examples where they belong.