Create types.c

Simple list realization.