Finished (for real) P1

Fixed unblocking done incorrectly when there was only one process left
to be executed.
Removed "swap_process" function as it wasn't that useful and hindered
code comprehension.
Added new progam: dormilon
Added new targets to generate exam folder.
Added function called in logging.