Programming for Mathematical Software exercises source code