Coding Style Changes according to PEP8: mostly removed semicola, also some whitespace and indentation changes. Now using 4 spaces for indentation.
small stylistic changes after running pylint