add makefile and main.c and fix some problem in the two polyn file