Adds str to aachars, and assigns a new index if none
AAchars where to add str
string to add to aachars
Adds str to aachars, and assigns a new index if none