The explanation for the task (in Romanian, translate in English)
https://ocw.cs.pub.ro/courses/so/teme/tema-3
Skeleton which they gave us is in 3-loader. The file to be modified is loader.c
https://github.com/systems-cs-pub-ro/so-assignments
What I have done by now I uploaded as an attachment.