diabolical algorithm i thought of in the shower | ScratchStats