text_to_sentences function

Split strings of text x into sentences.