Word Ladders

Puzzle Statement:

Take two words that have the same length. Can you change one word into another, changing only one letter at a time, with each intermediate word also being a legitimate part of the English lexicon?

For example, let's change "cat" to "dog":

cat
cot
dot
dog

Solutions

Well, it depends on what you want to try. Here are some examples:

talk
tank
tang
sang
sing
bird
gird
girt
gist
fist
fish
black
clack
click
chick
chink
chine
whine
white
santa
santo
panto
panty
punty
punny
bunny
birth
berth
perth
perch
peach
leach
leash
deash
death
yellow
fellow
fallow
fallot
ballot
ballet
billet
pillet
piolet
violet
foot
food
fond
find
hind
hand
grow
brow
bros
bios
biol
bill
kill
brain
braid
brand
brans
beans
bears
hears
heart
horse
house
rouse
rouge
rough
lough
laugh
slow
slot
slit
flit
fait
fast

The Program

Click HERE to see the tcl program.

The Output

Here's some example output from the program:

H:\TclStuff>H:\as\bin\tclsh wordge cat dog
H:\as\bin\tclsh wordge cat dog
Reading word file...Done.
Processing word list...Done.
Recursively generating "next step" array...Done.
Now seeking solutions.
cat bat bot dot dog
cat cot bot bog dog
cat cot dot dog

H:\TclStuff>