Uses the Chinese Remainder theorem to solve simultaneous congruences