Each county organized for judicial purposes shall, at its own expense, provide a suitable courthouse and a suitable and sufficient jail, and fireproof offices and other necessary county buildings, and keep the same in repair.