https://profilbaru.com/article/Sequential_logic