https://easyexamnotes.com/dfa-which-accept-00-and-11-at-end-of/
DFA which accept 00 and 11 at the end of a string