Tutorial updated with code blocks