Added a Word class and indexing using a cumulative score from the probability distribution