add pre-commit hook file for easy setup