Define a machine in terms of its basic objective.