It would be nice if you could add Doxygen documentation.
For reference, you can see the TheAlgorithms/C repository.
I can also help with this if required/needed (I'm very good with that stuff).
IMHO, this will make the code much more understandable, clean and better. 🙂