push() and shift() operation of Array and Linked List

