fixed bug (?) and added mapGenerator.js