Finish word-chains problem.