There is a minor typo in the comments for the back_prop function where the word “instances” is misspelled “instanes”.
Thank you for reporting!