Updated example and applied PEP8.
Revised documentation examples.
Revised documentation examples.