my code is match pattern by dictionary (all alphabet with multi indexs for each them) , my code should go dictionary firstly , check pattern equal index d
pattern
d