Understanding the stock market and investing in stocks