Test passed - method defined for adding an element to the beginning of an array