finished StockExchange class