Code clean up

Used Flake8 to check/fix code standards: flake8 --exclude=simpleRaft/tests/ simpleRaft/ --verbose