updated main.c in car2x communication