Hello.
Is "Watch a tutorial" not helpful? Please tell how to improve it.
Regarding the second question. I've developed an algorithm, that traverses a dictionary of English words and makes sure that only certain set of words (2 or more) fits the given dots and lines. It is possible to find conditions under which only one word is possible, or words of different lengths.