Code dump of tutorial-part1.