Convert maps.c over to use list.h