Memory Exception in task 2
Warnings in task 3. Check remark 1.
Task 4. Check remark 1. Error handling of pthreads.