https://tutorialscart.com/formal-languages-and-automata-theory/
Formal Languages and Automata Theory