This contract is an example of a contract that uses the Entropy Beacon to utilize randomness on the blockchain. The contract requests entropy, and then will return a "heads" or "tails" attribute based on whether the entropy is even or odd. This output can be seen in the transaction logs for the contract execution.
For more, see the Entropy Beacon documentation.