String tokenizer in rust