An exercice towards an object oriented library in C