added the function setupSignalHandler()

This function registers all the interrupt signals(most of them I guess ) with our signal_callback_handler which sets up the terminal to orignal state.