Minor changes in union find & add demos