A simple modular arithmetic library for C++