Buying a home in Edinburgh can be difficult, with flats and houses in high demand and on the market for high prices.