lpn!; exercise 6.3 - strip the first and last elements from a list