ADP interview question

Observer pattern implementation