Script for compile and run the project by terminal