CS311: Add profile function to compute.

Determines the number of mods a machine can do in 15 seconds.
CS311: Convert performance checking to thread.

Add shared header file for errExit.
Add Socket init code for client.