array : check whether there exists a sub array whose sum is zero