This is a project made in C as part of my third year of BSc