whitelists.and.blacklists function

Whitelists and blacklists in structure learning