Update beep.cpp