dudahart2 function

Duda-Hart test for splitting