Create ChineseRemainderTheorem

Make sure that every w[i] is relatively-prime with w[j].