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