The animations really helped in class - especially to see how the boundary conditions work.
Here is the python code
https://www.glowscript.org/#/user/rhett.allain/folder/electrodynamics/program/sidepolarization
https://www.glowscript.org/#/user/rhett.allain/folder/electrodynamics/program/reflectplanewave