added index tokenizer sample code