Construction of DFA and Validation of Language, Behaviours are seperated into seperate modules.