geometrical pattern 2- faster version | ScratchStats