Source: https://mrcet.com/downloads/digital_notes/IT/Formal Languages Automata Thery.pdf