Add, sub and mod impls

Implementation of addition, subtraction and mod.