Correcting some little mistakes on main.c
It Works! 'All heap blocks were freed -- no leaks are possible' - Valgrind