A finite automata simulator for iPhone