Implement mod_n.
Another passing test.