Getting the last element of a list,alist[(-1)]