add header file stdio.h
format code style
convert from dos to unix format