Perform Kruskal-Wallis Test for the given samples and required significance. For additional information check kruskalWallis. This is just a helper function.
It uses Chi-Squared distribution for approximation as long as the sizes are larger than 5. Otherwise the test returns Nothing.