Reimplemented char_set as an ArrayList