Finds a maximal independent set of vertices