Update modular-arithmetic.cpp