Created framework.js and updated regExGen.js to accept a difficulty level.