Add independent set algorithm