Implemented array 'head' functionality