Initial commit for chapters 2 and 4
Adding license and readme files
Adding .gitignore file (for .beam)
Some code from chapter 6
Some code from chapter 7
Some code from chapter 8
Some code from chapter 9
Code for chapter 10