math172: updated template, created ps1