a king is the ruler of a country