Utility function to print the contents of the ArrayList
static void printArrayList ( ArrayList < String > arrL ) { arrL . remove ( " " ) ; for ( int i = 0 ; i < arrL . size ( ) ; i ++ ) System . out . print ( arrL . get ( i ) + " ▁ " ) ; }