utility function to print contents of a vector from index i to it 's end
void printVector ( const vector < int > & v , int i ) { for ( int j = i ; j < v . size ( ) ; j ++ ) cout << v [ j ] << " ▁ " ; cout << endl ; }