Kadane practice algo added