working version of realestate vs index fund investing program