added language version and pre-commit file

Fixed my issues