The Arithmetic of Algebraic Numbers: an Elementary Approach