lecture 4 modular arithmetic math 3040109