a simple list librairy in c