Adding first iteration of master copy of tutorial code.