Understanding Bruno De Finetti’s decision theory: A basic algorithm to support decision-making behaviour