Basics of Modular Arithmetic