The word ain't produces "as not" because expand_contractions has the following code: `expanded_contraction = first_char + expanded_contraction[1:]` Ain't does not fit this general rule