Largest/Smallest finding algorithm | ScratchStats