implemented tokenizer with dynamically growing string array