implementing tail on the list
added set head
renamed to ListSpec
drop while
added init method