added tree implementation for quick unions