created a sentence data class, added attributes to words data class and programmed to count sentence frequency of words