Fixed #3: removed variable KEYWORDS and replaced it with keyword.iskeyword().