Check pep8 naming rules

- Also check the pep8 naming rules when running `make check`
- Fix the code

Closes #31