Quick find

this is the slow N^2 union find we will use, also has the dynamicconnectivity as interface so we can easily add other union find implementations