Added comment to indexed_sentences function