Added comments and alternative code when going through the tutorial pdf.