minor change

just set number of spawnMonsters in each interval as a variable.
set spawnInterval as a variable.