Added weighted quick union implementation.