pulled all_children out of next_word

took the relationships loop out of next word and made a method all_children that outputs an array of children's id's