added a new method
independent sets not finished yet