Data Structure - Key Phrase problem: TF-IDF