add debug for codility
min_abs_slice_sum: add tests, fix algorithm