Update Kruskal_Union_Find.py

Exiting Kruskal's when requisite number of edges added to MST and adding error condition if user enters invalid input.