Added mod operator

As described in #79 and with help provided by @rzimmerman in #78 I've implemented (if we can call that implementing) the mod operator.