Create fonctions.c

File which contains the functions for the tries of main.c