Add beep function for CHIP-8 debugging purposes