add front and back methods for list containers