Implemented Chinese Remainder Theorem function CRT