The first counting machine we have invented is the abacus. In the XX century began develope the analogical computers with wheels and gears. The first computer completely digital was the Colossus and were built for decipher the code of the enigma machine.