there was one large chimney at each end , each carrying smoke from three or four of the hearths set into the walls , and the gable ends were made of wood , heavily carved and painted to resemble beasts of some sort .