Added Wave class to handle the wave of enemies.