A simple C program containing the same functionality as the ls command