Adicionando main function
Changing the name of the function and setting parameters values by default
Adding the logic to run again