change one word into another

modifying one char at a time; print the shortest such path