This set of notes was initially published on medium.com in two parts. You can find part1 and part2 there.