Added complete change for computing MST using recursion
Removed redundancy