First implementation of list and map