To run the above script, one may issue
sh program
Or, after giving the program execute permission (chmod +x program), just
program