initial commit of tutorial code