an automaton is a mechanical object that carries out a function without needing to be programmed