head_tail function

Return the First and Last Parts of an Object