Build a device that predicts the outcome of a coin flip.