Update ListElegant.h

fixed length==1 bug for first/last updating.
passes listtest00.