The cheapest and most expensive areas to buy a home