applying math to programming | ScratchStats