Update NaiveBayes_nltk_reuters.py

Proper use of dict1.get() and generalizing getting category from fileName