the code reads a file and prints its contents
void printArray(Array* a) { int i; for (i = 0; i < a->used; i++) { printf("----------