Add code examples for tutorial 1