Analysis of Algorithms I assignment to implement a Union Find and call it on an image to find connected components, etc.