Changes made to formula, added prompts
Changes to console.log, and explanation of variables and prompts