initial commit for simple regex machine