How a derelict hospital building in Kirkcaldy was transforme