fixed bug , test ok
added makefile and main.c