Algorithm example | ScratchStats