Chinese Remainder Theorem Code In C