Print the shortest path
static void printPath ( Vector < Integer > path ) { int n = path . size ( ) ; for ( int i = 0 ; i < n - 1 ; i ++ ) System . out . print ( path . get ( i ) + " ▁ - > ▁ " ) ; System . out . print ( path . get ( n - 1 ) + "NEW_LINE"); }