Numerals and Arithmetic in the Middle Ages