shows the inser and retrival of element in a list