korean american dating dating algorithm code