Update kruskalFunction.py

Changed values to work for function