First, we use 'full' pattern matching between input letter string and dictionary entries, as opposed to the 'partial' matching of D&N.
rather than starting with the two strings leftaligned, we start with the initial letter of the input string Z aligned with the last letter of the dictionary entry YV.