Finite Automata And Its Types