add quick-union algorithm
add test case