An insight into the Basics, Terminologies of Automata, Deterministic Finite Automata (DFA) and Non Deterministic Finite Auotmata (NDFA) and Python Code for DFA and NDFA