fix ej1.c: add return type int into the main()