Vocabulary Creation

this part is responsible for creating the vocab to be used for training the classifier 
I don't understand how you can use push_back to push into certain indices in a matrix