Edx-fp: implement last for a list