Update exercise 6 to include beep example