Changed config.py to only accept .txt files
we dont have any additional checks, should be implemented

flask.py has been updated to sort and count words that is the same
lexical value, toLower()