Added callback.c into main.c and removed callback.c
Added signal SIGINT processing for outputting result and edited output format