Fixed pep8 whitespace and added Python2To3 library for checking string type