Java implementation of a stable marriage problem