made pep8 compliant

also removed second initialisation method in the writer.
Merge pull request #2 from grimley517/master

made pep8 compliant