First working draft.

Learning is left.
The distribution of random sampling and of patterns provided by Christina is shown on the pictures.