Made some fixes in the tutorial code. (Replaced cobegin blocks by
regular sequential blocks, etc).