Array with same left and right sum around an index