Vocabulary Creation

this part is responsible for creating the vocab to be used for training the classifier 
you can use samples.push_back instead of a rect since the rect way is much less readable