A simple C program that emulates the ar linux command