added makefile with pep8. fixed errors/warnings