Mathematical Model Of Finite Automata String