Hi luismaya,
Galileo will run your sketch very fast and by the time you open your serial monitor it has already finished. Add a 1 second delay first thing in void setup() right before the Serial.begin(9600); line.
delay(1000); //delay 1000ms
Regards,
Intel_Jesus