word_chain with code review by Kriti