Update Sentence.class

refactor 2
reformatted the sentence class