program nows terminates once all enemies are done