Clapper code for Intro to EE 1201 Final Project