lpn!; exercise 6.4 - find the last element of a list