Adapts code to blanklines convention
Adapts code to blankspaces convention
Some final refinements for to be consistent with PEP 8
Applies some PEP 257 guidelines. Overall, moving on and putting PEP 257 into pending tasks list.