The Unexpected Hanging and Other Mathematical Diversions