Document Classification Using Python Dictionaries And Sets