buying a home or renting an apartment