Yes, an index fund is an excellent investment because it's low-cost and mimics a market index.