Is the universe a finite state machine?