arrayList.c
arrayList now runs without fault