Returns a list last element

A little helper to get the last element of a list