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