Using push, pop, unshift and shift to Manipulate Arrays