fixed the set complement issue.
the function was working fine, the way I passed input was incorrect.
Fixed that issue. :)