my entry for the coding contest | ScratchStats