Added code to extract topics' words