Sears interview question

closures, event handling