Made faster by updating how melding connected components works
Removed uncessary iteration for uncolored set creation