Draft version of maximalIndependentSet... work in progress.