The Kingship of the Scots, 842-1292: Succession and Independence