can you make money with index fund vs real estate