Update kruskalFunction.py

Changed values to work for function
Merge pull request #1 from aemms/patch-1

Fixing #1 function/class issue