Guessing each letter given a string or phrase and correctly matching it with minimum attempts