Code for a numerical methods course I will be teaching