Add current string to result of other strings and check if characters are unique or not
for ( int i = 0 ; i < tmp . size ( ) ; i ++ ) { String test = tmp . get ( i ) + arr . get ( ind ) ; if ( check ( test ) ) ret . add ( test ) ; } return ret ; }