problem with array length
insert by index
insert by -ve index