Running the promise example in Terminal