a stable match algorithm