Add divInteger and modInteger functions