Fix range insert bugs encounter building the examples.
Continue work on tutorial and examples.