Smooch interview question

With some existing code, create a promise and generate some numbers.