The King has been presented with the keys to the City of Edinburgh