first we show how to remove the first element from a list.
[Xwill result inY] = [f r e d]
X=f---the first element of the list is known as the HEAD of the list.
Y=[r e d]---the list formed by deleting the head is the TAIL of the list. This list has been reduced in length and can be further destructed or constructed.