Algorithm of finding all maximal independent sets in an undirected graph