part c done - logging (goto (reg)) occurrences. stupid quirky (append\!)
part b done - log (save) and (restore)