small project to study C program