Implemented modulus operator