Adds .DS_Store files to .gitignore
Implements rulebook for simple finite automata