Added compilation logic for remainder expressions.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>