Update main.c

fixed a "{}" code style  in main.c