Updated defensive programming notebook