Added thread pool. Simplified Util.

Implemented a thread pool to handle generic lists of tasks, to be
integrated in ExternalMergeSort later.
Simplified Util to only contain functions