Add a Z_cmp function stub
Working Z_cmp function