beyond it , paul could see a town rising steeply up to a floodlit , stone church perched on the top of the hill , the houses haphazardly clustered on the slopes below it , their tiled roofs set at crazy angles as they spilled in a series of terraces downwards to the flat land around .