observer pattern exercises use the observer pattern to model system where your observers can subscribe to stocks in stock market and make buy/sell decisions based on changes in the stock price implement the flag for changed on an example with the object set of observers