Code and support files for Directed Study with Prof Trelles on PETSc