Added code to handler function.
Added code to server function.
Registered handler as a signal function handler. Fixed code in server function. Almost fully implemented.
Registered signal handler in server function. Also commented out the sleep call in random work to make server run faster.
Actually commented sleep in accept function.
Uncommented sleep calls.