added a beep when iteration finishes.