2.66. Instructions: N runs of the 10 heads problem