A (simulated) computer from basic gates up