myslice1 = [1 2 3 4 5 6]
lungime = 6
capacitate = 6
myslice1 = [1 2 3 4 5 6 20 21]
lungime = 8
capacitate = 12