fixed file type(added .c) and fixed style