Mavinci interview question

Draw diagram and implement observer pattern