Introduction

Tutorial code from llvm with minor adjustments.