An updated version of the post has been uploaded to fix a couple of things. Readers are recommended to download the latest updated version of the notebook.