Added function divmod.