Implemented tokenizer, indexer and 5 ranking function