tweaked output
Runtime: 0.0233307 for 50 nodes, k = 48