Fix #32, add flake8 in Travis CI configuration for checking coding style