added modulo operator
fixes #1