Takes a book and splits it into words, ordered by frequency