added fwrite example (chapter 5)
added silly example from book (chapter 6)
added derivative example (chapter 6)
added sorting example (chapter 6)