Beautified code
Made code PEP8 conformant and used docstrings instead of comment blocks for description of functions
Edited by Christian Rohlfing
Made code PEP8 conformant and used docstrings instead of comment blocks for description of functions