Fix some tutorials.  Added tutorial 4 code