-procedure to display the last element of list