Update NaiveBayes_nltk_reuters_MI.py

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