create some functions in graph and i try to fill testmain.c