clean word-ladder-ii code