added levels.js to generate levels from