by dawn , they were heading past barcelona , the tips of the towers of the great gaudi church of the sagrada familia to the right , and the seventeenth-century castle on the hill of montjuic to the left .