https://theory-of-computation-topic.blogspot.com/2022/10/theory-of-automata.html