Some fixes added to thread pool implementation.
Added fork join implementation.