原理:余数就是被除数中除不尽的部分——被除数多于最大公因数*除数的部分
int Remainder (int val1,int val2)
{
int devider = Devide(val1,val2); //gain the multiplication of val1 and val2
int remainder = val1 - Multiply1(devider,val2); //get the remainder
return remainder ;
}