--- from: http://rosettacode.org/wiki/Sleeping_Beauty_problem note: Decision Theory