Update LexChecker.py

Create class LexChecker with all same functions