Generates characters from the given string
for ( int i = 0 ; i < s . Length ; i ++ ) { char c = s [ i ] ; Node node = new Node ( c , null ) ; if ( header == null ) { header = node ; temp = header ; } else { temp . Next = node ; temp = temp . Next ; } } return header ; }