To check leaks add in funcktion free system("leaks minishell"); minishell.mp4 redirections have to repeat the comand and cd builting doesn't go to the root