Divide Array Into Arrays With Max Difference | dStruct