Added comments directing how waves are spawned

In function spawnWave()