Exercises and notes from Real World OCaml