https://intlibrary.ir/download/introduction-to-the-theory-of-finite-state-machine-46768/