Find the penultimate element of a list