Update examples.py

sys.stdout is not a callable object.
Merge pull request #2 from netspyer/patch-1

Update examples.py