requires Q and created a promise
fulfills promise and executes console.log
requires q and sets up a promise
creates an error with 'REJECTED' as the error.message
create function to log error messages. return error object when rejecting promise
adds notes to solution