Groups, tilings and finite state automata