does 2 partition of same sum exist in an array