Update and rename check_pattern.py to check_pattern

Removed .py, unneeded deleted whitespace