Mia Mottley has become head of government in the Caribbean Island of Barbados after Thursday's election.