curr pointer points to the current node where the insertion should take place
for ( int i = 1 ; i < text . length ( ) ; i ++ ) { curr . next = add ( text . charAt ( i ) ) ; curr = curr . next ; } return head ; }