Utility function for storing the vector of strings into HashMap
void storeInMap ( vector < string > & vec ) { unordered_map < string , vector < string > > store ; for ( int i = 0 ; i < vec . size ( ) ; i ++ ) { string tempString ( vec [ i ] ) ;